package com.yb.livewykt.bean

import android.util.Log
import com.yb.livewykt.R

enum class LiveAction(val actionIcon:Int,val actionName:Int) {

    switchCamera(R.drawable.ic_reversal_white,R.string.reversal),
    filter(R.drawable.ic_filter_white,R.string.filter),
    beauty(R.drawable.ic_beauty_white_white,R.string.beauty),
    share(R.drawable.ic_share_white,R.string.share),
    shop(R.drawable.ic_shop_white,R.string.shop);

    companion object{
        fun getAllAction() : MutableList<LiveAction>{
            val list:MutableList<LiveAction> = ArrayList()
            values().forEach {
                list.add(it)
            }
            Log.d("TAG", "getAllAction: ${list.size}")
            return list
        }
    }


}